﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;
using Meqs.Entity.Views;

namespace Meqs.Logic.Interface
{
    public interface ITeacherEvalTypeCatchLogic : ICommonLogic<TeacherEvalTypeCatch, int>
    {
        /// <summary>
        /// 插入
        /// </summary>
        /// <param name="mpic"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int InsertTeacherEvalTypeCatch(TeacherEvalTypeCatch mpic, string schoolMark);


        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="studentID"></param>
        /// <param name="recordID"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int DeleteTeacherEvalTypeCatch(int teacherID, int recordID, string schoolMark);

        /// <summary>
        /// 优秀教师评测
        /// </summary>
        IList<GoodTeacherView> FindGoodTeacher(String schoolMark, int schoolYear, int term);

        /// <summary>
        /// 优秀备课组评测
        /// </summary>
        IList<GoodGradeCauseView> FindGoodGradeCause(String schoolMark, int schoolYear, int term);
    }
}
